using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("UnrankedPlayToggleButton")]
	public class UnrankedPlayToggleButton : PegUIElement
	{
		public GameObject m_xIcon => method_3<GameObject>("m_xIcon");

		public HighlightState m_highlight => method_3<HighlightState>("m_highlight");

		public bool m_isRankedMode => method_2<bool>("m_isRankedMode");

		public UnrankedPlayToggleButton(IntPtr address, string className)
			: base(address, className)
		{
		}

		public UnrankedPlayToggleButton(IntPtr address)
			: this(address, "UnrankedPlayToggleButton")
		{
		}

		public void SetRankedMode(bool isRankedMode)
		{
			method_8("SetRankedMode", isRankedMode);
		}

		public bool GetIsRanked()
		{
			return method_11<bool>("GetIsRanked", Array.Empty<object>());
		}

		public new void OnOver(InteractionState oldState)
		{
			method_8("OnOver", oldState);
		}

		public new void OnOut(InteractionState oldState)
		{
			method_8("OnOut", oldState);
		}
	}
}
